\hypertarget{classcontext_free_1_1scanner_1_1_state}{\section{context\-Free.\-scanner.\-State Class Reference}
\label{classcontext_free_1_1scanner_1_1_state}\index{context\-Free.\-scanner.\-State@{context\-Free.\-scanner.\-State}}
}


Collaboration diagram for context\-Free.\-scanner.\-State\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcontext_free_1_1scanner_1_1_state__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_ae93b8be2177c617058502abfcfce5204}{\hyperlink{classcontext_free_1_1scanner_1_1_state_ae93b8be2177c617058502abfcfce5204}{State} ()}\label{classcontext_free_1_1scanner_1_1_state_ae93b8be2177c617058502abfcfce5204}

\begin{DoxyCompactList}\small\item\em constructor state 0 \end{DoxyCompactList}\item 
\hyperlink{classcontext_free_1_1scanner_1_1_state_a81cd656c8ed26ba10aedd6598d090dcc}{State} (int i)
\begin{DoxyCompactList}\small\item\em constructor state i-\/th, with empty list productions \end{DoxyCompactList}\item 
\hyperlink{classcontext_free_1_1scanner_1_1_state_a8dc8e0da9fdc805b0202f66eebce1e57}{State} (int i, List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ c)
\begin{DoxyCompactList}\small\item\em constructor state i-\/th, whit list production c \end{DoxyCompactList}\item 
\hyperlink{classcontext_free_1_1scanner_1_1_state_a7ab62a86fa7c7072e898d9b8ab1b3cd5}{State} (int i, List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ c, Hashtable$<$ String, Integer $>$ table)
\begin{DoxyCompactList}\small\item\em constructor state i-\/th, whit list production c and list of lookahead \end{DoxyCompactList}\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_a47e8e15d2cfc4a1bec7102605cbfbfc6}{List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ {\bfseries get\-Items} ()}\label{classcontext_free_1_1scanner_1_1_state_a47e8e15d2cfc4a1bec7102605cbfbfc6}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_a4cf3061ae4e061bb5bda4151d25b5c76}{void {\bfseries set\-Items} (List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ Items)}\label{classcontext_free_1_1scanner_1_1_state_a4cf3061ae4e061bb5bda4151d25b5c76}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_aa4d50d40914124e22010dd49f54da845}{Hashtable$<$ String, Integer $>$ {\bfseries get\-Shift} ()}\label{classcontext_free_1_1scanner_1_1_state_aa4d50d40914124e22010dd49f54da845}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_adf18642bb9c193b9a3b0a6ba73bddc14}{void {\bfseries set\-Shift} (Hashtable$<$ String, Integer $>$ shift)}\label{classcontext_free_1_1scanner_1_1_state_adf18642bb9c193b9a3b0a6ba73bddc14}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_acefc45a10d2cdbfbbfad972621c7c2a2}{int {\bfseries get\-Index} ()}\label{classcontext_free_1_1scanner_1_1_state_acefc45a10d2cdbfbbfad972621c7c2a2}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_abef790a67f08f3e5afb6f0114e97585f}{void {\bfseries set\-Index} (int index)}\label{classcontext_free_1_1scanner_1_1_state_abef790a67f08f3e5afb6f0114e97585f}

\item 
Integer \hyperlink{classcontext_free_1_1scanner_1_1_state_a5259b186755c072d90d06dceb2b756ac}{goto\-State\-Index} (String simbol)
\begin{DoxyCompactList}\small\item\em Return the index of the state shifted with a specific simbol. \end{DoxyCompactList}\item 
List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ \hyperlink{classcontext_free_1_1scanner_1_1_state_a987d4c7ae8eb2754f13f0099f5d861a5}{get\-Kernels} ()
\begin{DoxyCompactList}\small\item\em return one list$<$\-Indexed\-Production$>$ with the kernel of a state \end{DoxyCompactList}\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_aec3a0f8337a27e244b82beb41c895e7f}{String {\bfseries to\-String} ()}\label{classcontext_free_1_1scanner_1_1_state_aec3a0f8337a27e244b82beb41c895e7f}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_a5ae1ce923c003367c33cc3f85f19181b}{int {\bfseries size} ()}\label{classcontext_free_1_1scanner_1_1_state_a5ae1ce923c003367c33cc3f85f19181b}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_a27437d701090c2c5684246542e2b2527}{int {\bfseries index}}\label{classcontext_free_1_1scanner_1_1_state_a27437d701090c2c5684246542e2b2527}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_a5546278a1d799c6c9b20c44e830eb84b}{List$<$ \hyperlink{classcontext_free_1_1scanner_1_1_indexed_production}{Indexed\-Production} $>$ {\bfseries items}}\label{classcontext_free_1_1scanner_1_1_state_a5546278a1d799c6c9b20c44e830eb84b}

\item 
\hypertarget{classcontext_free_1_1scanner_1_1_state_ae836ed1f2ab6b688b160a52def1fb47b}{Hashtable$<$ String, Integer $>$ {\bfseries shift}}\label{classcontext_free_1_1scanner_1_1_state_ae836ed1f2ab6b688b160a52def1fb47b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 8 of file State.\-java.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classcontext_free_1_1scanner_1_1_state_a81cd656c8ed26ba10aedd6598d090dcc}{\index{context\-Free\-::scanner\-::\-State@{context\-Free\-::scanner\-::\-State}!State@{State}}
\index{State@{State}!contextFree::scanner::State@{context\-Free\-::scanner\-::\-State}}
\subsubsection[{State}]{\setlength{\rightskip}{0pt plus 5cm}{\bf context\-Free.\-scanner.\-State.\-State} (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{classcontext_free_1_1scanner_1_1_state_a81cd656c8ed26ba10aedd6598d090dcc}


constructor state i-\/th, with empty list productions 


\begin{DoxyParams}{Parameters}
{\em index} & of state \\
\hline
\end{DoxyParams}


Definition at line 26 of file State.\-java.

\hypertarget{classcontext_free_1_1scanner_1_1_state_a8dc8e0da9fdc805b0202f66eebce1e57}{\index{context\-Free\-::scanner\-::\-State@{context\-Free\-::scanner\-::\-State}!State@{State}}
\index{State@{State}!contextFree::scanner::State@{context\-Free\-::scanner\-::\-State}}
\subsubsection[{State}]{\setlength{\rightskip}{0pt plus 5cm}{\bf context\-Free.\-scanner.\-State.\-State} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{List$<$ {\bf Indexed\-Production} $>$}]{c}
\end{DoxyParamCaption}
)}}\label{classcontext_free_1_1scanner_1_1_state_a8dc8e0da9fdc805b0202f66eebce1e57}


constructor state i-\/th, whit list production c 


\begin{DoxyParams}{Parameters}
{\em index} & of state \\
\hline
{\em List} & production \\
\hline
\end{DoxyParams}


Definition at line 37 of file State.\-java.

\hypertarget{classcontext_free_1_1scanner_1_1_state_a7ab62a86fa7c7072e898d9b8ab1b3cd5}{\index{context\-Free\-::scanner\-::\-State@{context\-Free\-::scanner\-::\-State}!State@{State}}
\index{State@{State}!contextFree::scanner::State@{context\-Free\-::scanner\-::\-State}}
\subsubsection[{State}]{\setlength{\rightskip}{0pt plus 5cm}{\bf context\-Free.\-scanner.\-State.\-State} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{List$<$ {\bf Indexed\-Production} $>$}]{c, }
\item[{Hashtable$<$ String, Integer $>$}]{table}
\end{DoxyParamCaption}
)}}\label{classcontext_free_1_1scanner_1_1_state_a7ab62a86fa7c7072e898d9b8ab1b3cd5}


constructor state i-\/th, whit list production c and list of lookahead 


\begin{DoxyParams}{Parameters}
{\em index} & of state \\
\hline
{\em List} & production \\
\hline
{\em List} & of lookahead \\
\hline
\end{DoxyParams}


Definition at line 49 of file State.\-java.



\subsection{Member Function Documentation}
\hypertarget{classcontext_free_1_1scanner_1_1_state_a987d4c7ae8eb2754f13f0099f5d861a5}{\index{context\-Free\-::scanner\-::\-State@{context\-Free\-::scanner\-::\-State}!get\-Kernels@{get\-Kernels}}
\index{get\-Kernels@{get\-Kernels}!contextFree::scanner::State@{context\-Free\-::scanner\-::\-State}}
\subsubsection[{get\-Kernels}]{\setlength{\rightskip}{0pt plus 5cm}List$<${\bf Indexed\-Production}$>$ {\bf context\-Free.\-scanner.\-State.\-get\-Kernels} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcontext_free_1_1scanner_1_1_state_a987d4c7ae8eb2754f13f0099f5d861a5}


return one list$<$\-Indexed\-Production$>$ with the kernel of a state 

\begin{DoxyReturn}{Returns}
the kernels prodaction 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Pierluigi Sottile 
\end{DoxyAuthor}


Definition at line 97 of file State.\-java.



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcontext_free_1_1scanner_1_1_state_a987d4c7ae8eb2754f13f0099f5d861a5_cgraph}
\end{center}
\end{figure}




Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcontext_free_1_1scanner_1_1_state_a987d4c7ae8eb2754f13f0099f5d861a5_icgraph}
\end{center}
\end{figure}


\hypertarget{classcontext_free_1_1scanner_1_1_state_a5259b186755c072d90d06dceb2b756ac}{\index{context\-Free\-::scanner\-::\-State@{context\-Free\-::scanner\-::\-State}!goto\-State\-Index@{goto\-State\-Index}}
\index{goto\-State\-Index@{goto\-State\-Index}!contextFree::scanner::State@{context\-Free\-::scanner\-::\-State}}
\subsubsection[{goto\-State\-Index}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf context\-Free.\-scanner.\-State.\-goto\-State\-Index} (
\begin{DoxyParamCaption}
\item[{String}]{simbol}
\end{DoxyParamCaption}
)}}\label{classcontext_free_1_1scanner_1_1_state_a5259b186755c072d90d06dceb2b756ac}


Return the index of the state shifted with a specific simbol. 

\begin{DoxyVerb}  @param simbol the shift simbol
\end{DoxyVerb}
 \begin{DoxyReturn}{Returns}
the index of the state or null 
\end{DoxyReturn}


Definition at line 84 of file State.\-java.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/context\-Free/scanner/State.\-java\end{DoxyCompactItemize}
